﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmallDataBase.DTO
{
    /// <summary>
    /// 查询单元
    /// </summary>
    public class SQLQueryGroupDTO
    {
        public SQLQueryGroupDTO(GroupType groupType)
        {
            GroupType = groupType;
            SQLQueryDTOs = new List<SQLQueryDTO>();
        }

        public GroupType GroupType { get;private set; }

        public IList<SQLQueryDTO> SQLQueryDTOs { get; set; }
    }

    public enum GroupType
    {
        And,
        Or
    }
}
